package com.mybatis3.demo.pojo;

import java.util.HashSet;
import java.util.Set;

public class GroupEntity {
	private String name;
	private Integer groupId;
	
	private Set<UserEntity> userSet = new HashSet<UserEntity>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public Set<UserEntity> getUserSet() {
		return userSet;
	}

	public void setUserSet(Set<UserEntity> userSet) {
		this.userSet = userSet;
	}

	@Override
	public String toString() {
		return "GroupEntity [name=" + name + ", groupId=" + groupId
				+ ", userSet=" + userSet + "]";
	}
}
